//
//  CharacterToolBottomView.m
//  us
//
//  Created by lhx on 2025/4/1.
//

#import "CharacterToolBottomView.h"

@interface CharacterToolBottomView ()

  

@end

@implementation CharacterToolBottomView

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self initialization];
    }
    return self;
}
 
- (void)initialization {

    UIView *line = [[UIView alloc]init];
    [self addSubview:line];
    line.backgroundColor = UIColor.mi_3_color;
    [line mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self);
        make.left.right.equalTo(self);
        make.height.mas_equalTo(1.2);
   }];

    [self addSubview:self.selectImgView];
    [self.selectImgView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self);
        make.left.mas_equalTo(self);
    }];

}
 
-(UIImageView *)selectImgView{
    if (_selectImgView == nil) {
        _selectImgView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"character_line"]];
    }
    return _selectImgView;

}
 
@end
